package Meirilianxi;

public class Test {
    static String name="abcd";

    public static void main(String[] args) {
        System.out.println("我是main函数");
        System.out.println(Person.name);
        Person p=new Person();
        p.name="任我行";
        p.address="北京";
        Person p1=new Person();
        System.out.println(p1.name);
        System.out.println(p1.address);
    }
    static {
        System.out.println(name);
        System.out.println("我是test类的静态块");
    }
}
